package com.lee.lease.web.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lee.lease.model.entity.FeeKey;
import com.lee.lease.web.admin.vo.fee.FeeKeyVo;
import com.lee.lease.web.admin.vo.fee.FeeValueVo;

import java.util.List;

/**
* @author liubo
* @description 针对表【fee_key(杂项费用名称表)】的数据库操作Mapper
* @createDate 2023-07-24 15:48:00
* @Entity com.atguigu.lease.model.FeeKey
*/
public interface FeeKeyMapper extends BaseMapper<FeeKey> {

    List<FeeKeyVo> findFeeKeyAndFeeValue();

    /**
     * 根据公寓id查询费用详情
     * @param id 公寓id
     * @return
     */
    List<FeeValueVo> findByApartmentId(Long id);
}




